function gitball
    set branch_name (git branch 2> /dev/null | grep \* | sed 's/* //')
    if [ "$branch_name" = "master" ]
        echo "is master!!!"
        return
    end
    git add -A :/
    if count $argv >/dev/null
       git commit -m "$argv[1]"
    else
       git commit --allow-empty-message -m ""
    end
    git push -f origin $branch_name
end
